package com.learn.gof.fmp;

public class Test {
    public static void main(String[] args) {
        IPetFactory factory = new DogFactory();
        Dog dog = (Dog) factory.create();
        dog.cry();
    }
}
